package com.eva.admin.dao.system.notice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;

@Data
@Schema(description = "系统通知视图对象")
public class SystemNoticeVO {
    @Schema(description = "主键")
    private Integer id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "类型")
    private String type;

    @Schema(description = "内容")
    private String content;

    // v5.1.0，scope字段更改为scopes
    @Schema(description = "作用域")
    private String scopes;

    @Schema(description = "开始时间")
    private Date startTime;

    @Schema(description = "结束时间")
    private Date endTime;

    @Schema(description = "是否禁用")
    private Boolean disabled;

    @Schema(description = "创建人主键")
    private Integer creatorId;

    @Schema(description = "创建人姓名")
    private String creatorRealName;

    @Schema(description = "创建时间")
    private Date createdAt;

    @Schema(description = "更新人主键")
    private Integer updaterId;

    @Schema(description = "更新人姓名")
    private String updaterRealName;

    @Schema(description = "更新时间")
    private Date updatedAt;

}
